<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/30
 * Time: 9:55
 */
namespace vendor\core;
class order
{
    public function __construct()
    {
        echo '订单初始化!';
        echo '<br />';
    }

    public function createOrder(){
        echo '创建订单!';
        echo '<br />';
    }

    public function pay(){
        echo '微信支付!';
        echo '<br />';
    }

    public function deleteOrder(){
        echo '删除订单!';
        echo '<br />';
    }
    public function __destruct()
    {
        echo '删除订单!';
        echo '<br />';
    }
    public function gengeralOrder(){
        return '123456';
    }
}